<?php
$this->sendDebugMessage("rollTimeout model start");

$user = $this->userCenter->userList[$ip];
$rid = $this->userCenter->userList[$ip]->roomID;
$tid = $user->tableID;
$tb = $this->userCenter->roomList[$rid]->tableList[$tid];

//
//$roll = mt_rand(1,100);
//if($user->roll > 0)
//{
//
//}else{
//	$user->roll = $roll;
//}
//$response = new Response();
//$response->event = "SE_ROLL";
//$response->body = '{"seatID":"'.$user->seatID.'","roll":'.$roll.',"userID":"'.$user->userID.'"}';
//$this->broadcastGroup($response,$this->userCenter->roomList[$user->roomID]->tableList[$user->tableID]->getUserList());
$timeout = true;

if($user->roll>0)
{}
else
{
	include "logic/roll.php";
}

$this->sendDebugMessage("rollTimeout model end");